package com.itheima.pinda.feign;

import com.itheima.pinda.DTO.entity.PdCoreOrg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "pd-auth")
@RequestMapping("/api/authority/org")
public interface OrgFeign {
    @PostMapping("queryById")
    public PdCoreOrg queryById(@RequestParam String  id);
}
